package io.xiyou.goods.api;


import io.xiyou.goods.api.bo.CreateOrderBO;
import org.springframework.cache.annotation.CacheConfig;

/**
 * @author 西柚
 */
@CacheConfig(cacheNames = "goods")
public interface IGoodsService {

    /**
     * 创建订单
     *
     * @param createOrderBO
     */
    Long createOrder(CreateOrderBO createOrderBO) throws Exception;

}
